package com.spica.platform.base.exception.instance;

import com.spica.platform.base.exception.errorcode.ValidationRtnCodEnum;
import com.spica.platform.base.model.ValidateResult;
import lombok.Getter;

import java.util.List;

public class ValidationException extends AbstractBaseException {
  @Getter
  private List<ValidateResult> result;
  public ValidationException(List<ValidateResult> list){
    super(ValidationRtnCodEnum.UN_KNOWN_VALIDATE_ERROR);
    this.result = list;
  }
}
